SetLength

Prototype:

procedure SetLength(var S: String; L: Longint);

Description:

Sets the length of a string.